<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1,user-scalable=no">
<link rel="stylesheet" href="<?php echo $_BASE_DIR ?>baodan/css/common.css">
<script type="text/javascript" src="<?php echo $_BASE_DIR ?>baodan/js/jquery-3.1.1.min.js"></script>
<title>申请报单中心</title>
<style>
	.content{ text-align: center; margin-top: 150px;}
</style>
</head>

<body>
<div class="content"><?php echo $applydec?></div>

<div class="apply-baodan ensure" onclick="saveForm();">申请报单中心</div>
</body>
<script>
function saveForm(){

	var ajaxurl = "/baodan/applybd";
	$.post(ajaxurl, {
		account: 1,
		
	}, function(data){
		if(data.code == 0){
			alert(data.msg);
			location.href= '/baodan/index';
			return false;	
		}else{
			alert(data.msg);
			return false;	
		}
	}, 'json');
}
</script>
</html>
